package com.ciaojian.bytedance.vo.bytedance;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class VerifyEndVo implements Serializable {

    /**
     * data : {"verify_results":[{"result_msg":"验券成功","certificate_code":"100163513369602","result_code":0,"item_order_id":"ots71846167479856519687370","verify_time":1672800576749}]}
     * err_tips : success
     * resp_extra : {"logid":"202301041049366B2D82BE99F82EF867D2"}
     * err_no : 0
     */

    private DataBean data;
    private String err_tips;
    private RespExtraBean resp_extra;
    private int err_no;

    @Data
    public static class DataBean implements Serializable {
        private List<VerifyResultsBean> verify_results;

        @Data
        public static class VerifyResultsBean implements Serializable {
            /**
             * result_msg : 验券成功
             * certificate_code : 100163513369602
             * result_code : 0
             * item_order_id : ots71846167479856519687370
             * verify_time : 1672800576749
             */

            private String result_msg;
            private String certificate_code;
            private int result_code;
            private String item_order_id;
            private long verify_time;
        }
    }

    @Data
    public static class RespExtraBean implements Serializable {
        /**
         * logid : 202301041049366B2D82BE99F82EF867D2
         */

        private String logid;
    }
}
